//
//  LPPRotateWheelController.m
//  Lottery
//
//  Created by 刘盼 on 16/1/24.
//  Copyright © 2016年 lhheh. All rights reserved.
//

#import "LPPRotateWheelController.h"
#import "LPPRotateWheelView.h"

@implementation LPPRotateWheelController

-(void)viewDidLoad {
    
    [super viewDidLoad];
    
    self.view.layer.contents = (__bridge id _Nullable)([UIImage imageNamed:@"LuckyBackground"].CGImage);
    
    LPPRotateWheelView *view = [LPPRotateWheelView rotateWheelView];
    
    view.center = self.view.center;
    
    [self.view addSubview:view];
    
    [view startRotate];
}
@end
